package com.service;
import java.util.List;

import com.model.Notices;
import com.util.PageBean;

public interface NoticesService{
	
	//查询多条记录
	public List<Notices> queryNoticesList(Notices notices,PageBean page) throws Exception;
 
	//添加
	public int insertNotices(Notices notices) throws Exception ;
	
	//根据ID删除
	public int deleteNotices(int id) throws Exception ;
	
	//更新
	public int updateNotices(Notices notices) throws Exception ;
	
	//根据ID查询单条数据
	public Notices queryNoticesById(int id) throws Exception ;
	
	//得到记录总数
	int getCount(Notices notices);

}

